home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / plain / contrib / calendar / a6.sty < prev    next >
LaTeX Document  |  1993-09-06  |  1.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert DirectMusic Style (music/directMusicStyle) ext Unsupported
1% dexvert Microsoft Word Style Sheet (other/microsoftWordStyleSheet) ext Unsupported
1% dexvert Grand Theft Auto 2 Style data (other/grandTheftAuto2StyleData) ext Unsupported
1% dexvert KORG File (other/korgFile) ext Unsupported
1% dexvert MAGIX music studio Style (other/magixMusicStudioStyle) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 25 0a 25 25 20 20 20 | 20 46 49 4c 45 20 61 36 |%%.%% | FILE a6|
|00000010| 2e 73 74 79 0a 25 25 0a | 5c 62 61 73 65 6c 69 6e |.sty.%%.|\baselin|
|00000020| 65 73 6b 69 70 3d 31 30 | 70 74 0a 5c 6e 65 77 63 |eskip=10|pt.\newc|
|00000030| 6f 75 6e 74 5c 64 61 79 | 73 69 6e 70 61 67 65 0a |ount\day|sinpage.|
|00000040| 5c 6e 65 77 64 69 6d 65 | 6e 5c 63 65 6c 6c 77 69 |\newdime|n\cellwi|
|00000050| 64 74 68 0a 5c 6e 65 77 | 64 69 6d 65 6e 5c 63 65 |dth.\new|dimen\ce|
|00000060| 6c 6c 68 65 69 67 68 74 | 0a 5c 76 73 69 7a 65 3d |llheight|.\vsize=|
|00000070| 35 69 6e 5c 76 6f 66 66 | 73 65 74 3d 2d 30 2e 32 |5in\voff|set=-0.2|
|00000080| 69 6e 0a 5c 68 73 69 7a | 65 3d 33 2e 35 69 6e 5c |in.\hsiz|e=3.5in\|
|00000090| 68 6f 66 66 73 65 74 3d | 2d 30 2e 32 35 69 6e 0a |hoffset=|-0.25in.|
|000000a0| 5c 6e 65 77 64 69 6d 65 | 6e 5c 73 70 68 73 69 7a |\newdime|n\sphsiz|
|000000b0| 65 0a 5c 73 70 68 73 69 | 7a 65 3d 5c 68 73 69 7a |e.\sphsi|ze=\hsiz|
|000000c0| 65 0a 5c 64 69 76 69 64 | 65 5c 73 70 68 73 69 7a |e.\divid|e\sphsiz|
|000000d0| 65 20 62 79 32 5c 61 64 | 76 61 6e 63 65 5c 73 70 |e by2\ad|vance\sp|
|000000e0| 68 73 69 7a 65 20 62 79 | 2d 30 2e 34 70 74 0a 5c |hsize by|-0.4pt.\|
|000000f0| 63 65 6c 6c 68 65 69 67 | 68 74 3d 5c 76 73 69 7a |cellheig|ht=\vsiz|
|00000100| 65 0a 5c 64 69 76 69 64 | 65 5c 63 65 6c 6c 68 65 |e.\divid|e\cellhe|
|00000110| 69 67 68 74 20 62 79 33 | 0a 5c 61 64 76 61 6e 63 |ight by3|.\advanc|
|00000120| 65 5c 63 65 6c 6c 68 65 | 69 67 68 74 20 62 79 2d |e\cellhe|ight by-|
|00000130| 30 2e 34 70 74 5c 70 61 | 72 69 6e 64 65 6e 74 3d |0.4pt\pa|rindent=|
|00000140| 30 70 74 0a 5c 66 6f 6e | 74 5c 62 66 3d 63 6d 62 |0pt.\fon|t\bf=cmb|
|00000150| 78 31 32 0a 5c 66 6f 6e | 74 5c 72 6d 3d 63 6d 72 |x12.\fon|t\rm=cmr|
|00000160| 31 32 0a 5c 66 6f 6e 74 | 5c 73 6d 61 6c 6c 3d 63 |12.\font|\small=c|
|00000170| 6d 72 39 0a 5c 68 65 61 | 64 6c 69 6e 65 3d 7b 5c |mr9.\hea|dline={\|
|00000180| 68 66 69 6c 6c 0a 20 5c | 69 66 6f 64 64 5c 70 61 |hfill. \|ifodd\pa|
|00000190| 67 65 6e 6f 0a 20 20 5c | 72 6d 5c 78 64 65 66 5c |geno. \|rm\xdef\|
|000001a0| 66 74 6d 6b 7b 5c 66 69 | 72 73 74 6d 61 72 6b 7d |ftmk{\fi|rstmark}|
|000001b0| 25 0a 20 20 5c 64 69 76 | 69 64 65 5c 70 61 67 65 |%. \div|ide\page|
|000001c0| 6e 6f 20 62 79 32 5c 61 | 64 76 61 6e 63 65 5c 70 |no by2\a|dvance\p|
|000001d0| 61 67 65 6e 6f 20 62 79 | 31 0a 20 20 57 65 65 6b |ageno by|1. Week|
|000001e0| 20 5c 23 5c 74 68 65 5c | 70 61 67 65 6e 6f 0a 20 | \#\the\|pageno. |
|000001f0| 5c 65 6c 73 65 0a 20 20 | 5c 62 66 5c 65 64 65 66 |\else. |\bf\edef|
|00000200| 5c 62 74 6d 6b 7b 5c 62 | 6f 74 6d 61 72 6b 7d 25 |\btmk{\b|otmark}%|
|00000210| 0a 20 20 5c 69 66 78 5c | 66 74 6d 6b 5c 62 74 6d |. \ifx\|ftmk\btm|
|00000220| 6b 5c 65 6c 73 65 5c 66 | 74 6d 6b 2f 5c 66 69 5c |k\else\f|tmk/\fi\|
|00000230| 62 74 6d 6b 0a 20 5c 66 | 69 5c 68 66 69 6c 6c 7d |btmk. \f|i\hfill}|
|00000240| 0a 5c 66 6f 6f 74 6c 69 | 6e 65 3d 7b 7d 0a 5c 64 |.\footli|ne={}.\d|
|00000250| 65 66 5c 6e 65 77 70 61 | 67 65 7b 5c 76 66 69 6c |ef\newpa|ge{\vfil|
|00000260| 6c 5c 70 65 6e 61 6c 74 | 79 2d 31 30 30 30 30 7d |l\penalt|y-10000}|
|00000270| 0a 5c 64 65 66 5c 62 65 | 67 69 6e 64 61 79 7b 0a |.\def\be|ginday{.|
|00000280| 20 5c 69 66 63 61 73 65 | 5c 64 61 79 73 69 6e 70 | \ifcase|\daysinp|
|00000290| 61 67 65 5c 6f 72 5c 68 | 72 75 6c 65 5c 6f 72 5c |age\or\h|rule\or\|
|000002a0| 68 72 75 6c 65 5c 6f 72 | 5c 6f 72 0a 20 20 5c 68 |hrule\or|\or. \h|
|000002b0| 72 75 6c 65 5c 6f 72 5c | 68 72 75 6c 65 5c 66 69 |rule\or\|hrule\fi|
|000002c0| 0a 20 5c 6d 61 72 6b 7b | 5c 74 68 65 6d 6f 6e 74 |. \mark{|\themont|
|000002d0| 68 7d 20 25 20 4f 75 74 | 73 69 64 65 20 61 6e 79 |h} % Out|side any|
|000002e0| 20 62 6f 78 0a 20 5c 73 | 65 74 62 6f 78 31 3d 5c | box. \s|etbox1=\|
|000002f0| 76 62 6f 78 20 74 6f 5c | 63 65 6c 6c 68 65 69 67 |vbox to\|cellheig|
|00000300| 68 74 5c 62 67 72 6f 75 | 70 5c 76 67 6c 75 65 34 |ht\bgrou|p\vglue4|
|00000310| 70 74 0a 20 5c 69 66 6e | 75 6d 5c 64 61 79 73 69 |pt. \ifn|um\daysi|
|00000320| 6e 70 61 67 65 3e 34 5c | 68 73 69 7a 65 3d 5c 73 |npage>4\|hsize=\s|
|00000330| 70 68 73 69 7a 65 5c 66 | 69 0a 20 5c 73 65 74 62 |phsize\f|i. \setb|
|00000340| 6f 78 33 3d 5c 76 62 6f | 78 5c 62 67 72 6f 75 70 |ox3=\vbo|x\bgroup|
|00000350| 0a 20 20 5c 69 66 6e 75 | 6d 5c 64 61 79 73 69 6e |. \ifnu|m\daysin|
|00000360| 70 61 67 65 3e 32 0a 20 | 20 20 5c 72 69 67 68 74 |page>2. | \right|
|00000370| 73 6b 69 70 3d 31 2e 34 | 35 63 6d 20 70 6c 75 73 |skip=1.4|5cm plus|
|00000380| 20 31 66 69 6c 6c 0a 20 | 20 5c 65 6c 73 65 0a 20 | 1fill. | \else. |
|00000390| 20 20 5c 6c 65 66 74 73 | 6b 69 70 3d 31 2e 34 35 | \lefts|kip=1.45|
|000003a0| 63 6d 20 70 6c 75 73 20 | 31 66 69 6c 6c 5c 66 69 |cm plus |1fill\fi|
|000003b0| 0a 20 20 5c 6e 6f 69 6e | 64 65 6e 74 5c 73 6d 61 |. \noin|dent\sma|
|000003c0| 6c 6c 7d 0a 5c 64 65 66 | 5c 65 6e 64 64 61 79 7b |ll}.\def|\endday{|
|000003d0| 5c 65 67 72 6f 75 70 0a | 20 20 5c 73 65 74 62 6f |\egroup.| \setbo|
|000003e0| 78 30 3d 5c 68 62 6f 78 | 20 74 6f 5c 68 73 69 7a |x0=\hbox| to\hsiz|
|000003f0| 65 7b 5c 72 6d 5c 69 66 | 68 6f 6c 79 5c 62 66 5c |e{\rm\if|holy\bf\|
|00000400| 66 69 0a 20 20 20 5c 69 | 66 6e 75 6d 5c 64 61 79 |fi. \i|fnum\day|
|00000410| 73 69 6e 70 61 67 65 3d | 36 5c 62 66 5c 66 69 0a |sinpage=|6\bf\fi.|
|00000420| 20 20 20 5c 69 66 6e 75 | 6d 5c 64 61 79 73 69 6e | \ifnu|m\daysin|
|00000430| 70 61 67 65 3e 32 0a 20 | 20 20 20 5c 68 66 69 6c |page>2. | \hfil|
|00000440| 6c 7b 7b 5c 72 6d 5c 74 | 68 65 73 68 6f 72 74 77 |l{{\rm\t|heshortw|
|00000450| 65 65 6b 64 61 79 7d 0a | 20 20 20 20 5c 20 5c 74 |eekday}.| \ \t|
|00000460| 68 65 5c 44 61 79 5c 68 | 73 6b 69 70 30 2e 35 65 |he\Day\h|skip0.5e|
|00000470| 6d 7d 0a 20 20 20 5c 65 | 6c 73 65 0a 20 20 20 20 |m}. \e|lse. |
|00000480| 7b 5c 68 73 6b 69 70 30 | 2e 35 65 6d 5c 74 68 65 |{\hskip0|.5em\the|
|00000490| 5c 44 61 79 0a 20 20 20 | 20 5c 20 7b 5c 72 6d 5c |\Day. | \ {\rm\|
|000004a0| 74 68 65 73 68 6f 72 74 | 77 65 65 6b 64 61 79 7d |theshort|weekday}|
|000004b0| 7d 5c 68 66 69 6c 6c 5c | 66 69 7d 0a 20 20 5c 63 |}\hfill\|fi}. \c|
|000004c0| 6f 70 79 30 5c 6b 65 72 | 6e 2d 5c 68 74 30 5c 76 |opy0\ker|n-\ht0\v|
|000004d0| 73 6b 69 70 30 70 74 5c | 62 6f 78 33 0a 20 20 5c |skip0pt\|box3. \|
|000004e0| 76 66 69 6c 6c 5c 65 67 | 72 6f 75 70 0a 20 20 5c |vfill\eg|roup. \|
|000004f0| 61 64 76 61 6e 63 65 5c | 64 61 79 73 69 6e 70 61 |advance\|daysinpa|
|00000500| 67 65 20 62 79 31 0a 20 | 20 5c 69 66 63 61 73 65 |ge by1. | \ifcase|
|00000510| 5c 64 61 79 73 69 6e 70 | 61 67 65 5c 6f 72 5c 62 |\daysinp|age\or\b|
|00000520| 6f 78 31 5c 6f 72 5c 62 | 6f 78 31 5c 6f 72 0a 20 |ox1\or\b|ox1\or. |
|00000530| 20 20 5c 62 6f 78 31 5c | 6e 65 77 70 61 67 65 5c | \box1\|newpage\|
|00000540| 6f 72 5c 62 6f 78 31 5c | 6f 72 5c 62 6f 78 31 5c |or\box1\|or\box1\|
|00000550| 6f 72 0a 20 20 20 5c 73 | 65 74 62 6f 78 32 3d 5c |or. \s|etbox2=\|
|00000560| 62 6f 78 31 5c 6f 72 0a | 20 20 20 5c 68 62 6f 78 |box1\or.| \hbox|
|00000570| 7b 5c 62 6f 78 32 5c 76 | 72 75 6c 65 5c 62 6f 78 |{\box2\v|rule\box|
|00000580| 31 7d 5c 6e 65 77 70 61 | 67 65 0a 20 20 20 5c 64 |1}\newpa|ge. \d|
|00000590| 61 79 73 69 6e 70 61 67 | 65 3d 30 5c 66 69 7d 0a |aysinpag|e=0\fi}.|
|000005a0| 25 0a 25 20 4c 6f 63 61 | 6c 3a 20 66 72 6f 6d 20 |%.% Loca|l: from |
|000005b0| 6d 6f 6e 64 61 79 20 2e | 2e 2e 0a 5c 44 61 79 3d |monday .|...\Day=|
|000005c0| 31 5c 4d 6f 6e 74 68 3d | 31 5c 64 61 79 6e 6f 5c |1\Month=|1\dayno\|
|000005d0| 70 72 65 76 64 61 79 31 | 5c 63 75 72 72 65 6e 74 |prevday1|\current|
|000005e0| 64 61 74 65 3d 5c 64 61 | 74 65 0a 25 20 4c 6f 63 |date=\da|te.% Loc|
|000005f0| 61 6c 3a 20 2e 2e 2e 20 | 74 6f 20 73 75 6e 64 61 |al: ... |to sunda|
|00000600| 79 2e 0a 5c 44 61 79 3d | 33 31 5c 4d 6f 6e 74 68 |y..\Day=|31\Month|
|00000610| 3d 31 32 5c 64 61 79 6e | 6f 5c 6e 65 78 74 64 61 |=12\dayn|o\nextda|
|00000620| 79 30 5c 6c 61 73 74 64 | 61 74 65 3d 5c 64 61 74 |y0\lastd|ate=\dat|
|00000630| 65 0a 5c 6c 65 66 74 73 | 6b 69 70 3d 33 70 74 5c |e.\lefts|kip=3pt\|
|00000640| 72 69 67 68 74 73 6b 69 | 70 3d 33 70 74 0a 5c 64 |rightski|p=3pt.\d|
|00000650| 61 79 73 69 6e 70 61 67 | 65 3d 30 0a 5c 64 65 66 |aysinpag|e=0.\def|
|00000660| 5c 65 70 69 6c 6f 67 7b | 7d 0a |\epilog{|}. |
+--------+-------------------------+-------------------------+--------+--------+